#ifndef RESTRICAOAPOIODLG_H
#define RESTRICAOAPOIODLG_H

#include <QDialog>
#include "ui_restricaoapoiodlg.h"

#include "nossostipos.h"

class restricaoApoioDlg : public QDialog,private Ui::restricaoApoioDlgClass
{
	Q_OBJECT

public:
	restricaoApoioDlg(QWidget *parent = 0);
	~restricaoApoioDlg();
  
	  	
	float getkx();
	void setkx(float *kx);   // teste

	float getky();
	void setky(float *ky);

	float getkz();
	void setkz(float *kz);


    float getangle();
	void setangle(float *angle);

	float getdx();
	void setdx(float *dx);

	float getdy();
	void setdy(float *dy);

	float getrz();
	void setrz(float *rz);


//void setMaterialTipo(MaterialTipo *materialTipo);
	void setDisplacXgroup (DisplacXgroup *displacxgroup);
	void setDisplacYgroup (DisplacYgroup *displacygroup);
	void setRotationZgroup (RotationZgroup *rotationZgroup);

	
public slots:      
	void sair();
	void salvar();	
	void limpar();

	void apontarvalorX();
	void apontarValorFixX();

	void apontarValorFixY(); //teste

	void apontarValorFixZ(); //teste

	void togglePrescribedCheckBox();
	

private:
	
	QPixmap image;

	DisplacXgroup *displacxgroup;
	DisplacYgroup *displacygroup;
	RotationZgroup *rotationzgroup;

	float *kx_d;
	float *ky_d;
	float *kz_d;

	float *angle_d;
	float *dx_d;
	float *dy_d;
	float *rz_d;

	

};

#endif // RESTRICAOAPOIODLG_H

